// 软件著作权编辑页面配置
export const softwareConfig = {
  title: "软件著作权信息",
  icon: "software",
  fields: [
    {
      key: 'name',
      label: '软件名称',
      required: true,
      type: 'text',
      placeholder: '请输入软件名称'
    },
    {
      key: 'id',
      label: 'ID',
      required: true,
      type: 'text',
      placeholder: '请输入ID'
    },
    {
      key: 'keywords',
      label: '关键词',
      required: true,
      type: 'array',
      placeholder: '请输入关键词'
    },
    {
      key: 'copyrightOwner',
      label: '著作权人',
      required: true,
      type: 'array',
      placeholder: '请输入著作权人'
    },
    {
      key: 'authorRank',
      label: '作者位次',
      required: true,
      type: 'text',
      placeholder: '请输入作者位次'
    },
    {
      key: 'finishDevDate',
      label: '开发完成时间',
      required: true,
      type: 'date',
      placeholder: '请选择开发完成时间'
    },
    {
      key: 'finishPubDate',
      label: '首次发表时间',
      required: true,
      type: 'date',
      placeholder: '请选择首次发表日期'
    },
    {
      key: 'power',
      label: '权力取得方法',
      required: true,
      type: 'select',
      placeholder: '请选择类型'
    },
    {
      key: 'powerRange',
      label: '权力范围',
      required: true,
      type: 'select',
      placeholder: '请选择类型'
    }
  ],
  uploadAreas: [
    {
      key: 'certificate',
      label: '软著证书',
      required: true,
      accept: '.pdf,.doc,.docx',
      multiple: true  // 支持多文件上传
    },
    {
      key: 'sourceCode',
      label: '源码压缩包',
      required: false,
      accept: '.zip,.rar',
      multiple: true
    }
  ]
};
